﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class PopWin_middlecheck : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["id"] != null)
            {
                this.HiddenField1.Value = Request.QueryString["id"].Trim();
            }
        }
    }
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        PM.PMBusiness.projectapprove approve = new PM.PMBusiness.projectapprove();
        approve.projectoperate(4, Int32.Parse(this.HiddenField1.Value));
        this.btnSubmit.Enabled = false;
        this.labnote.Text = "状态已经改为4！";
    }
}
